/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ObjectsManager;

import java.util.ArrayList;

/**
 *
 * @author fabualves
 */
public class StreamObjectList extends ArrayList<StreamObject> {
    public StreamObjectList() {
        super();
    }
    
    public StreamObject getByFilename(String filename) {
        for (StreamObject ob : this) {
            if (ob.getFilename().equals(filename)) {
                return ob;
            }
        }
        return null;
    }
}
